<%
String str = (String) request.getAttribute("str");
%>
<p id='clicklink'>
	<%
	if(!str.equals(""))
	{
	%>
	<a href="#clicklink" id='check'></a>
	<span class="span icon-large-checkmark" style="font-weight: bold;">Link : </span> <a
		href="<%=str%>" target="_blank"><%=str%></a>
	<%
	} else {
	%>
	<span class="icon-large-close">Wrong information, please recheck</span>		
	<%
	}
	%>		
</p>
<script type="text/javascript">
	$(document).ready(function(){
		var str = '<%=!str.equals("")?true:false%>';
		if(str=='true')
		{
			$("#get-content").fadeIn("slow");
			$('html,body').animate({scrollTop: $("#selectoroftitle").offset().top +
				 parseInt($("#selectoroftitle").css('padding-top'),10) },'slow');

		}
	});
</script>